package com.ruoyi.job.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.Date;

/**
 * Kettle脚本对象 ETL_SCRIPT_INFO
 * 
 * @author ruoyi
 * @date 2021-07-31
 */
public class EtlScriptInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String scriptId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String scriptName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String scriptFileName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String scriptType;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String scriptContent;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String scriptDesc;


    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String pathUrl;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date deployTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    /**
     * 0正常  1删除
     */
    private String delFlag;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String createUser;

    public void setScriptId(String scriptId) 
    {
        this.scriptId = scriptId;
    }

    public String getScriptId() 
    {
        return scriptId;
    }
    public void setScriptName(String scriptName) 
    {
        this.scriptName = scriptName;
    }

    public String getScriptName() 
    {
        return scriptName;
    }
    public void setScriptFileName(String scriptFileName) 
    {
        this.scriptFileName = scriptFileName;
    }

    public String getScriptFileName() 
    {
        return scriptFileName;
    }
    public void setScriptType(String scriptType) 
    {
        this.scriptType = scriptType;
    }

    public String getScriptType() 
    {
        return scriptType;
    }
    public void setScriptContent(String scriptContent) 
    {
        this.scriptContent = scriptContent;
    }

    public String getScriptContent() 
    {
        return scriptContent;
    }
    public void setScriptDesc(String scriptDesc) 
    {
        this.scriptDesc = scriptDesc;
    }

    public String getScriptDesc() 
    {
        return scriptDesc;
    }

    public void setPathUrl(String pathUrl) 
    {
        this.pathUrl = pathUrl;
    }

    public String getPathUrl() 
    {
        return pathUrl;
    }
    public void setDeployTime(Date deployTime)
    {
        this.deployTime = deployTime;
    }

    public Date getDeployTime()
    {
        return deployTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scriptId", getScriptId())
            .append("scriptName", getScriptName())
            .append("scriptFileName", getScriptFileName())
            .append("scriptType", getScriptType())
            .append("scriptContent", getScriptContent())
            .append("scriptDesc", getScriptDesc())
            .append("pathUrl", getPathUrl())
            .append("deployTime", getDeployTime())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .toString();
    }
}
